{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}
{% import "pack/partial/pack_table.html" as pack_table_macro %}

{% block title %}万屏时代OPC--套餐列表{% endblock %}

{% block panel_heading %}
  万屏时代OPC--套餐列表
  <div class="pull-right btn-group">
    <a href="{{ url_for('op_bp.pack_set_add') }}" class="btn btn-xs btn-success" style="margin-right: 5px;">
        新建套餐
    </a>
  </div>
{% endblock %}

{% block panel_body %}
    {% if pagination %}
    <div class="pagination">
        {{ macros.pagination_widget(pagination, 'op_bp.pack_set_list') }}
    </div>
    {% endif %}

    {{ pack_table_macro.gen_table(pack_sets) }}

    {% if pagination %}
    <div class="pagination">
        {{ macros.pagination_widget(pagination, 'op_bp.pack_set_list') }}
    </div>
    {% endif %}

{% endblock %}
